//
//  Filter2ViewController.m
//  test12
//
//  Created by 贺嘉炜 on 2016/12/12.
//  Copyright © 2016年 贺嘉炜. All rights reserved.
//

#import "Filter2ViewController.h"
#import "Masonry.h"

@interface Filter2ViewController ()

@end

@implementation Filter2ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
}

- (IBAction)updateConstant:(id)sender {
    if (self.isShow){
        [self.view mas_updateConstraints:^(MASConstraintMaker *make) {
            make.height.mas_equalTo(50);
        }];
//         self.cons.offset(50);
    } else{
        [self.view mas_updateConstraints:^(MASConstraintMaker *make) {
            make.height.mas_equalTo(667);
        }];
//        self.cons.offset(667);
    }
    self.isShow = !self.isShow;
}

@end
